<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
    <title>YTUI-BUTTON</title>
    <link rel="stylesheet" href="../css/ytui.css" />
    <script src="../js/html-size-calculation.js"></script>

</head>

<body class="bgf5 header-fixed">
    <header class="header-bar bg-main">
        <a href="../index.html" class="header-left">
            <i class="icon icon-pre"></i>
            <span class="fz28">返回</span>
        </a>
        <h2 class="header-title">导航</h2>
    </header>
    <section class="pt30">
        <h3 class="fz26 pb10 pl30">默认</h3>
        <nav class="nav">
            <div class="nav-item active">
                <i class="icon icon-home fz42"></i>
                <span class="fz24">首页</span>
            </div>
            <div class="nav-item">
                <i class="icon icon-search fz42"></i>
                <span class="fz24 db">搜索</span>
            </div>
            <div class="nav-item">
                <i class="icon icon-comment fz42"></i>
                <span class="fz24 db">聊天</span>
            </div>
            <div class="nav-item">
                <i class="icon icon-user fz42"></i>
                <span class="fz24 db">我</span>
            </div>
        </nav>
    </section>

    <section class="pt30">
        <h3 class="fz26 pb10 pl30">带链接的</h3>
        <nav class="nav">
            <a href="#" class="nav-item active">
                <i class="icon icon-home fz42"></i>
                <span class="fz24">首页</span>
            </a>
            <a href="#" class="nav-item">
                <i class="icon icon-search fz42"></i>
                <span class="fz24 db">搜索</span>
            </a>
            <a href="#" class="nav-item">
                <i class="icon icon-add fz42"></i>
                <span class="fz24 db">发现</span>
            </a>
            <a href="#" class="nav-item">
               <i class="icon icon-comment"><span class="badge badge-round bg-red">1</span></i>
                <span class="fz24 db">聊天</span>

            </a>
            <a href="#" class="nav-item">
               <i class="icon icon-user"><span class="badge badge-round bg-red">12+</span></i>
                <span class="fz24 db">我</span>
            </a>
        </nav>
    </section>

    <section class="pt30">
        <h3 class="fz26 pb10 pl30">主色</h3>
        <nav class="nav bg-main">
            <div class="nav-item active">
                <i class="icon icon-home fz42"></i>
                <span class="fz24">首页</span>
            </div>
            <div class="nav-item">
                <i class="icon icon-search fz42"></i>
                <span class="fz24 db">搜索</span>
            </div>
            <div class="nav-item">
                <i class="icon icon-comment fz42"></i>
                <span class="fz24 db">聊天</span>
            </div>
            <div class="nav-item">
                <i class="icon icon-user fz42"></i>
                <span class="fz24 db">我</span>
            </div>
        </nav>
    </section>

    <section class="pt30">
        <h3 class="fz26 pb10 pl30">副色</h3>
        <nav class="nav bg-second">
            <div class="nav-item active">
                <i class="icon icon-home fz42"></i>
                <span class="fz24">首页</span>
            </div>
            <div class="nav-item">
                <i class="icon icon-search fz42"></i>
                <span class="fz24 db">搜索</span>
            </div>
            <div class="nav-item">
                <i class="icon icon-comment fz42"></i>
                <span class="fz24 db">聊天</span>
            </div>
            <div class="nav-item">
                <i class="icon icon-user fz42"></i>
                <span class="fz24 db">我</span>
            </div>
        </nav>
    </section>

    <section class="pt30">
        <h3 class="fz26 pb10 pl30">红色</h3>
        <nav class="nav bg-red">
            <div class="nav-item active">
                <i class="icon icon-home fz42"></i>
                <span class="fz24">首页</span>
            </div>
            <div class="nav-item">
                <i class="icon icon-search fz42"></i>
                <span class="fz24 db">搜索</span>
            </div>
            <div class="nav-item">
                <i class="icon icon-comment fz42"></i>
                <span class="fz24 db">聊天</span>
            </div>
            <div class="nav-item">
                <i class="icon icon-user fz42"></i>
                <span class="fz24 db">我</span>
            </div>
        </nav>
    </section>

    <section class="pt30">
        <h3 class="fz26 pb10 pl30">蓝色</h3>
        <nav class="nav bg-blue">
            <div class="nav-item active">
                <i class="icon icon-home fz42"></i>
                <span class="fz24">首页</span>
            </div>
            <div class="nav-item">
                <i class="icon icon-search fz42"></i>
                <span class="fz24 db">搜索</span>
            </div>
            <div class="nav-item">
                <i class="icon icon-comment fz42"></i>
                <span class="fz24 db">聊天</span>
            </div>
            <div class="nav-item">
                <i class="icon icon-user fz42"></i>
                <span class="fz24 db">我</span>
            </div>
        </nav>
    </section>

    <section class="pt30">
        <h3 class="fz26 pb10 pl30">绿色</h3>
        <nav class="nav bg-green">
            <div class="nav-item active">
                <i class="icon icon-home fz42"></i>
                <span class="fz24">首页</span>
            </div>
            <div class="nav-item">
                <i class="icon icon-search fz42"></i>
                <span class="fz24 db">搜索</span>
            </div>
            <div class="nav-item">
                <i class="icon icon-comment fz42"></i>
                <span class="fz24 db">聊天</span>
            </div>
            <div class="nav-item">
                <i class="icon icon-user fz42"></i>
                <span class="fz24 db">我</span>
            </div>
        </nav>
    </section>

    <section class="pt30">
        <h3 class="fz26 pb10 pl30">橙色</h3>
        <nav class="nav bg-orange">
            <div class="nav-item active">
                <i class="icon icon-home fz42"></i>
                <span class="fz24">首页</span>
            </div>
            <div class="nav-item">
                <i class="icon icon-search fz42"></i>
                <span class="fz24 db">搜索</span>
            </div>
            <div class="nav-item">
                <i class="icon icon-comment fz42"></i>
                <span class="fz24 db">聊天</span>
            </div>
            <div class="nav-item">
                <i class="icon icon-user fz42"></i>
                <span class="fz24 db">我</span>
            </div>
        </nav>
    </section>


</body>



</html>